package com.example.ivos.dictoption.pojo.entity;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@Data
public class DictOption {
//    id          bigint auto_increment comment '字典项ID' primary key,
//    dict_id     bigint      null comment '字典表id',
//    label       varchar(64) null comment '字典项名称',
//    value       varchar(64) null comment '字典项字典值',
//    sort        int         null comment '排序',
//    remark      text        null comment '备注信息',
//    create_time datetime    null comment '创建时间',
//    update_time datetime    null comment '更新时间'
    @ApiModelProperty(value = "字典项ID")
    private Long id;
    @ApiModelProperty(value = "字典表id")
    private Long dictId;
    @ApiModelProperty(value = "字典项名称")
    private String label;
    @ApiModelProperty(value = "字典项字典值")
    private String value;
    @ApiModelProperty(value = "排序")
    private Integer sort;
    @ApiModelProperty(value = "备注信息")
    private String remark;
    @ApiModelProperty(value = "创建时间")
    private Date createTime;
    @ApiModelProperty(value = "更新时间")
    private Date updateTime;
}